package com.wencai.bean;

/**
 * @author wangpan
 * @date 2023/5/8
 */
public class Stock {
    private String name;
    private String code;
    private String increment;
    private String date;
    private double value;

    public Stock(String name, String code, String increment, String date) {
        this.name = name;
        this.increment = increment;
        this.date = date;
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIncrement() {
        return increment;
    }

    public void setIncrement(String increment) {
        this.increment = increment;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public double getValue() {
        return value;
    }

    public void setValue(double value) {
        this.value = value;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("Stock{");
        sb.append("name='").append(name).append('\'');
        sb.append(", code='").append(code).append('\'');
        sb.append(", increment='").append(increment).append('\'');
        sb.append(", date='").append(date).append('\'');
        sb.append(", value=").append(value);
        sb.append('}');
        return sb.toString();
    }
}
